package com.yzh.domain;

public class ClassRoom {
    private int id;
    private String name;
    private String sex;
    private String grade;
    private String major;
    private String cname;

    public ClassRoom() {
    }

    public ClassRoom(int id, String name, String sex, String grade, String major, String cname) {
        this.id = id;
        this.name = name;
        this.sex = sex;
        this.grade = grade;
        this.major = major;
        this.cname = cname;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    @Override
    public String toString() {
        return "ClassRoom{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", grade='" + grade + '\'' +
                ", major='" + major + '\'' +
                ", cname='" + cname + '\'' +
                '}';
    }
}
